import 'package:json_annotation/json_annotation.dart';
part 'major_list_model.g.dart';

/// 食材model
@JsonSerializable()
class MajorListModel {
  /// 配料
  String? title;

  /// 配料数量
  String? note;

  /// 配料连接
  String? tu;
  MajorListModel(
    this.title,
    this.note,
    this.tu,
  );

  factory MajorListModel.fromJson(Map<String, dynamic> json) =>
      _$MajorListModelFromJson(json);

  Map<String, dynamic> toJson() => _$MajorListModelToJson(this);
}
